export default {
  tip: false,
  simplePage: true,
  searchShow: true,
  searchMenuSpan: 6,
  dialogWidth: '60%',
  border: true,
  menu: true,
  selection: true,
  index: true,
  dialogClickModal: false,
  menuWidth: 200,
  excelBtn: true,
  refreshBtn: false,
  columnBtn: false,
  stripe: true,
  align:'center',
  column: [
    {
      label: "知识点名称",
      prop: "name",
      type: "input",
      search: true,
      rules: [{
        required: true,
        message: "请输入知识点名称",
        trigger: "blur"
      }],
      span: 24
    },
    {
      label: "知识点描述",
      prop: "note",
      type: "textarea",
      rules: [{
        required: true,
        message: "请输入知识点描述",
        trigger: "blur"
      }],
      hide: true,
      span: 24
    },
    {
      label: "封面图",
      prop: "file",
      type: "upload",
      span: 24
    },
    {
      label: "密级",
      prop: "security",
      type: "select",
      dicData: [],
      span: 12,
      rules: [{
        required: true,
        message: "请选择密级",
        trigger: "blur"
      }],
    },
    {
      label: "状态",
      prop: "status",
      type: "select",
      dicData: [{
        label: '全部',
        value: '-1'
      }, {
        label: '未发布',
        value: '0'
      }, {
        label: '已发布',
        value: '1'
      }],
      search: true,
      span: 12,
      addDisplay: false,
      editDisplay: false,
    },
    {
      label: "课件总时长(H)",
      prop: "countTimeHour",
      width: 150,
      span: 24,
      addDisplay: false,
      editDisplay: false,
    },
    {
      label: "试题",
      prop: "test",
      width: '180px',
      addDisplay: false,
      editDisplay: false,
    },
  ]
}
